import request from '@/utils/request'

// 查询字典房屋租金预算列表
export function listADictBudget(query) {
  return request({
    url: '/system/aDictBudget/list',
    method: 'get',
    params: query
  })
}

// 查询字典房屋租金预算详细
export function getADictBudget(id) {
  return request({
    url: '/system/aDictBudget/' + id,
    method: 'get'
  })
}

// 新增字典房屋租金预算
export function addADictBudget(data) {
  return request({
    url: '/system/aDictBudget',
    method: 'post',
    data: data
  })
}

// 修改字典房屋租金预算
export function updateADictBudget(data) {
  return request({
    url: '/system/aDictBudget',
    method: 'put',
    data: data
  })
}

// 删除字典房屋租金预算
export function delADictBudget(id) {
  return request({
    url: '/system/aDictBudget/' + id,
    method: 'delete'
  })
}

// 逻辑删除字典房屋租金预算
export function logicDelADictBudget(id) {
  return request({
    url: '/system/aDictBudget/logicDel/' + id,
    method: 'delete'
  })
}

// 查询字典房屋租金预算列表
export function allBudgetList() {
  return request({
    url: '/system/aDictBudget/allList',
    method: 'get',
  })
}
